//
//  XXCurrencySelectCell.h
//  XingXue
//
//  Created by XingXue on 2023.
//  Copyright © 2023年 XingXue. All rights reserved.
//

#import "BaseTableViewCell.h"

@class XXCurrencySelectCell;
@class XXCurrencySelectCellModel;

@protocol XXCurrencySelectCellDelegate <NSObject>

- (void)currencySelectCell:(XXCurrencySelectCell *)cell button:(UIButton *)sender;

@end

@interface XXCurrencySelectCell : BaseTableViewCell

@property (nonatomic,weak) id<XXCurrencySelectCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIView *myView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewBottom;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *lineLabel;
@property (strong, nonatomic) XXCurrencySelectCellModel *model;

@end



#pragma mark - Model

@interface XXCurrencySelectCellModel : NSObject

@property (nonatomic,copy) NSString *title;

+ (XXCurrencySelectCellModel *)ittemModelWithTitle:(NSString *)title;

@end



